package cn.superchart.module.uerole.entity;

import cn.superchart.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("SC_USER_ROLE")
public class ScUserRole extends BaseEntity {

    @TableId
    private String id;

    /** 用户ID */
    private String userId;

    /** 角色ID */
    private String roleId;
    @Override
    protected String primaryKey() {
        return this.id;
    }
}
